package studentSystem;

public class User {
//    对象中包含用户名，密码，身份证号码，电话号码
    private String userName;
    private String password;
    private String IDNumber;
    private String phoneNumber;

    public User() {
    }

    public User(String userName, String password, String IDNumber, String phoneNumber) {
        this.userName = userName;
        this.password = password;
        this.IDNumber = IDNumber;
        this.phoneNumber = phoneNumber;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIDNumber() {
        return IDNumber;
    }

    public void setIDNumber(String IDNumber) {
        this.IDNumber = IDNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
}
